<?php


namespace app\admin\validate;

use think\Validate;

class AdminGroup extends Validate
{
    protected $rule = [
        'title'      => 'require|unique:admin_group',
    ];
    protected $message = [
        'title.require' => '角色名称必须填写',
        'title.unique'  => '角色名称不能重复',
    ];

}
